/*    */ package com.yss.sofa.cml.type;
/*    */ 
/*    */ public enum ImageTypeEnum
/*    */   implements BaseEnum
/*    */ {
/*  7 */   GIF(1, "GIF", "image/gif"), 
/*    */ 
/*  9 */   JPEG(2, "JPEG", "image/jpeg"), 
/*    */ 
/* 11 */   PNG(3, "PNG", "image/png"), 
/*    */ 
/* 13 */   TIFF(4, "TIFF", "image/tiff");
/*    */ 
/*    */   private final transient byte value;
/*    */   private final transient String name;
/*    */   private final transient String mimeType;
/*    */ 
/* 20 */   private ImageTypeEnum(int value, String name, String mimeType) { this.value = (byte)value;
/* 21 */     this.name = name;
/* 22 */     this.mimeType = mimeType; }
/*    */ 
/*    */   public Byte getValueByte()
/*    */   {
/* 26 */     return new Byte(this.value);
/*    */   }
/*    */ 
/*    */   public final byte getValue() {
/* 30 */     return this.value;
/*    */   }
/*    */ 
/*    */   public String getName() {
/* 34 */     return this.name;
/*    */   }
/*    */ 
/*    */   public String getMimeType() {
/* 38 */     return this.mimeType;
/*    */   }
/*    */ 
/*    */   public static ImageTypeEnum getByValue(byte value) {
/* 42 */     return getByValue(new Byte(value).byteValue());
/*    */   }
/*    */ }

/* Location:           X:\repository\com\yss\sofa\cml\cml-api\1.1.0\cml-api-1.1.0.jar
 * Qualified Name:     com.yss.sofa.cml.type.ImageTypeEnum
 * JD-Core Version:    0.6.0
 */